<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html"%>

<html:form action="documentacion.do" method="post" styleClass="hform">
	<ul>
		<li>
			<label>Documento:</label>
			<html:text  styleId="documento" styleClass="ui-widget-header" property="documento" /> 
			<script type="text/javascript">
				var f2 = new LiveValidation('documento', {validMessage :"  ",wait :5});
				f2.add(Validate.Length, {minimum :3});
			</script>
		</li>	
		<li>
			<label>Tipo:</label> 
			<html:text styleId="tipo" styleClass="ui-widget-header" property="tipo" /> 
			<script	type="text/javascript">
				var f2 = new LiveValidation('tipo', {validMessage :"  ",wait :5	});
				f2.add(Validate.Length, {minimum :2	});
			</script>
		</li>
		<li>
			<label>Clase:</label> 
			<html:text styleId="clase" styleClass="ui-widget-header" property="clase" />
			<script type="text/javascript">
				var f2 = new LiveValidation('clase', {validMessage :"  ",wait :5	});
				f2.add(Validate.Length, {minimum :3	});
			</script>
		</li>
		<li>
			<label>Clave:</label> 
			<html:text styleId="clave"	styleClass="ui-widget-header" property="clave"/> 
			<script	type="text/javascript">
				var f2 = new LiveValidation('clave', {validMessage :"  ",	wait :5	});
				f2.add(Validate.Length, {minimum :3	});
			</script>
		</li>
		<li>
			<label>Vigencia:</label>
			<html:text styleClass="ui-widget-header" styleId="datepicker6" property="vigencia" />
		</li>
	</ul>
	<br>
	<div id="izq">
		<html:hidden property="accion" value="setInfo"/>
		<button class="ui-state-active ui-corner-all">
			<span style="vertical-align:middle;"><img src="images/guardar.png" height="24" ></span>
			<span style="vertical-align:middle; padding: 0 0 13px;">&nbsp;Guardar&nbsp;</span>					
		</button>
		&nbsp;&nbsp;
		<button id="limpiar" class="ui-state-active ui-corner-all" type="reset">
			<span style="vertical-align:middle;"><img src="images/limpiar.png" height="24"></span>
			<span style="vertical-align:middle; padding: 0 0 13px;">&nbsp;Limpiar&nbsp;</span>								
		</button>
	</div>
	<br/><br/>
</html:form>

